package com.xianniu.ltc.service;

import com.xianniu.ltc.model.po.AddXnLimitRulePO;
import com.xianniu.ltc.model.po.UpdateXnLimitRulePO;
import com.xianniu.ltc.model.vo.XnLimitRuleFallbackVO;
import com.xianniu.ltc.model.vo.XnLimitRuleVO;
import com.xxl.sso.core.entity.ReturnT;

import java.util.List;

/**
 * @author WangRuiJie
 * @Title: XnLimitRuleService
 * @Package com.xianniu.ltc.service
 * @Description:
 * @date 2021/6/196:00 下午
 */
public interface XnLimitRuleService {

    List<XnLimitRuleVO> selectCountRule(String entity);
    ReturnT isDisabledCountRule(String entity);

    ReturnT deleteCountRule(Integer id);

    ReturnT addLeadCountRule(AddXnLimitRulePO po);

    ReturnT updateRule(UpdateXnLimitRulePO po);

    /**
     * 修改再次领取规则
     */
    ReturnT updateAgainRule( String entity, Integer value);
    /**
     * 修改客户锁规则
     */
    ReturnT updateAccountLockRule(Integer v);


    XnLimitRuleVO selectReceiveRule(String entity);

    XnLimitRuleFallbackVO selectFallbackRule(String entity);

    ReturnT isDisabledFallback(String entity);

}
